Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications


delete-cookie

This function deletes a persistent state cookie. This functions uses the set-cookie function to create a blank cookie with the same name, path, and an already expired date. This is only useful if the user’s Web browser supports persistent state cookies and has cookies enabled.

Location: web\method\cookies.i

Parameters:

INPUT p_name AS CHARACTER

The name of the cookie to delete.

INPUT p_path AS CHARACTER

The URL path to which the cookie should apply. If the Unknown value (?) is specified, the value of the DefaultCookiePath configuration option is used. If not set, the value of the AppURL global variable is used.

INPUT p_domain AS CHARACTER

The domain to which the cookie should apply. If the Unknown value (?) is specified, the value of the DefaultCookieDomain configuration option is used. If not set, the domain option is not set on the cookie and the current hostname of the Web server is used by the Web browser.

Returns: CHARACTER

Notes:

See also:

set-attribute-list

get-cookie

delete-cookie


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095